package interfaces;

import java.awt.BorderLayout;
import java.awt.EventQueue;

import javax.swing.JFrame;
import javax.swing.JPanel;
import javax.swing.border.EmptyBorder;
import javax.swing.JTabbedPane;
import javax.swing.JButton;
import javax.swing.JCheckBox;
import java.awt.Color;
import javax.swing.JTextField;
import javax.swing.JLabel;
import java.awt.Font;
import javax.swing.JSpinner;

public class createVm extends JFrame {

	private JPanel contentPane;
	private JTextField textField;
	private JTextField textField_1;

	/**
	 * Launch the application.
	 */
	public static void main(String[] args) {
		EventQueue.invokeLater(new Runnable() {
			public void run() {
				try {
					createVm frame = new createVm();
					frame.setVisible(true);
				} catch (Exception e) {
					e.printStackTrace();
				}
			}
		});
	}

	/**
	 * Create the frame.
	 */
	public createVm() {
		setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
		setBounds(100, 100, 525, 366);
		contentPane = new JPanel();
		contentPane.setBorder(new EmptyBorder(5, 5, 5, 5));
		setContentPane(contentPane);
		contentPane.setLayout(null);
		
		JTabbedPane tabbedPane = new JTabbedPane(JTabbedPane.TOP);
		tabbedPane.setBackground(Color.WHITE);
		tabbedPane.setBounds(12, 0, 499, 325);
		contentPane.add(tabbedPane);
		
		JPanel panel = new JPanel();
		tabbedPane.addTab("Infos VM", null, panel, null);
		panel.setLayout(null);
		
		JPanel panel_5 = new JPanel();
		panel_5.setBounds(12, 12, 470, 256);
		panel.add(panel_5);
		panel_5.setLayout(null);
		
		JLabel lblNom = new JLabel("Nom :");
		lblNom.setFont(new Font("Dialog", Font.BOLD, 14));
		lblNom.setBounds(91, 37, 69, 22);
		panel_5.add(lblNom);
		
		textField = new JTextField();
		textField.setColumns(10);
		textField.setBounds(178, 34, 182, 29);
		panel_5.add(textField);
		
		JLabel lblIdentifiant = new JLabel("Identifiant :");
		lblIdentifiant.setFont(new Font("Dialog", Font.BOLD, 14));
		lblIdentifiant.setBounds(51, 119, 118, 22);
		panel_5.add(lblIdentifiant);
		
		JSpinner spinner = new JSpinner();
		spinner.setBounds(178, 116, 182, 29);
		panel_5.add(spinner);
		
		textField_1 = new JTextField();
		textField_1.setColumns(10);
		textField_1.setBounds(178, 75, 182, 29);
		panel_5.add(textField_1);
		
		JLabel lblMotDePasse = new JLabel("Mot de passe :");
		lblMotDePasse.setFont(new Font("Dialog", Font.BOLD, 14));
		lblMotDePasse.setBounds(41, 78, 129, 22);
		panel_5.add(lblMotDePasse);
		
		JPanel panel_1 = new JPanel();
		tabbedPane.addTab("Modéles", null, panel_1, null);
		panel_1.setLayout(null);
		
		JPanel panel_2 = new JPanel();
		tabbedPane.addTab("Resources", null, panel_2, null);
		
		JPanel panel_3 = new JPanel();
		tabbedPane.addTab("Réseau", null, panel_3, null);
		
		JPanel panel_4 = new JPanel();
		tabbedPane.addTab("Récapitulatif", null, panel_4, null);
		panel_4.setLayout(null);
		
	}
}
